Questions tagged [printing]

Printing is a process for reproducing text and images, typically with ink or toner, on paper. For programming questions related to 3D-printing, please, use [3d-printing] tag.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
4 views

borders of web reports are not showing in firefox mozilla where as its showing in Chrome

i am generating web reporting for my software, Everything working fine but when I want to print report page in mozilla firefox, then borders of the table and report disappeared and only data display ...
Student's user avatar
0 votes
0 answers
101 views

How to insert numbers into an array?

I have been asked by my programming professor a program which: Adds numbers into an array Prints the result But there must be a boolean function which returns true if the insertion is correct, then ...
Yuzeq's user avatar
  • 11
0 votes
0 answers
31 views

Java System.out.print backspace [duplicate]

Okay, I am being driven a little crazy by this issue. I am currently printing out multiple prompts to ask for a list of 10 numbers. I just use the java.util.Scanner as follows: ArrayList<Integer>...
PackDude's user avatar
0 votes
0 answers
44 views

Printing in Chrome broken after latest update

After a recent browser update, CSS rules for print rendering are not working in Chrome or Edge. They looked as expected before the browser update But now I get a very narrow image, as though it's a ...
Reed Cooley's user avatar
0 votes
0 answers
21 views

Switch endline case at runtime in code(C++)

I want to print 3-4 line simultaneously in C++ code. If my line is small, then I can print each line and use endline character to print 3-4 lines such that it looks that they were printed ...
Gaurav Jangir's user avatar
0 votes
0 answers
17 views

Printing PDF but the left side is cut out. Using PdfiumViewer and System.Drawing

I developed an application to print documents. During testing it seemed to always cut a litte bit of the side of the document, sometimes half of the first character of a line. I noticed it myself ...
Gustavo HK's user avatar
0 votes
0 answers
10 views

React docx preview file with react-to-print problem

I am using docx-preview for Word files (doc,docx) preview on React. And user can print it. For printing I am using react-to-print. The problem is there. Some pages are cutting for not real font size (...
Rahil Əliyev's user avatar
0 votes
2 answers
37 views

Script unable to differ between subdirectories and files

I am writing a bash script to print all the files in a directory. If there is a subdirectory, then expand it and print all the file in it also. This is a recursive process I have handled with the ...
KmerPadreDiPdor's user avatar
-3 votes
0 answers
41 views

Multiple calls to print object, only prints once [closed]

I am new to Java and was wondering why when I call System.out.print(b1); twice, it only prints the object once. This is my code: public class Book { private String bookTitle = "Untitled"...
Tyrone's user avatar
  • 1
0 votes
1 answer
25 views

VBA Solidworks don't get print

I'm trying to create a VBA code to print my drawings in SolidWorks. I've designed a UserForm with buttons, where each button corresponds to a sheet size (A4 Portrait and Landscape, A3, A2 and A1). ...
J.bruno's user avatar
0 votes
0 answers
4 views

Loop through a list of dictionaries and print only those items with specific value?

Newbie here :) I've been tasked with project to print only those items in the list of dictionaries that have a status of "Tombstone". Here is an example of the list: Configuration = "...
LV_Node23's user avatar
2 votes
2 answers
81 views

Why doesn't Python 3.11 throw an error at print(set[0])?

I accidentally came across a very strange behavior for the later versions of Python. print(set[0]) will actually print set[0] instead of throwing an error in Python 3.9 and higher. Older versions of ...
Alexander Belyakov's user avatar
1 vote
0 answers
11 views

Printing PDF file using PrintDocument but keeeping ActualSize

In my c# program there is a section that prints picktickets using Crystal reports. The report saves the data as a pdf. there is a reason why it needs to go to PDF and not just print straight to a ...
j.hull's user avatar
  • 331
-3 votes
0 answers
20 views

How to print some QR Code in any position in line?

I need some help in order to understand some technical manual. Here's the link: https://reference.epson-biz.com/modules/ref_escpos/index.php?content_id=144 I'm trying to print some QR code, but I don'...
plionut's user avatar
  • 13
0 votes
2 answers
56 views

How do I fix the scale in Chrome to scale the data and not the page?

I do not have any experience writing code at all. I accidently hit the F12 key and changed something in the code in Chrome dealing with scale. Previously when I would print a page in Chrome that I ...
Campbell's user avatar
0 votes
0 answers
25 views

when div is closed , how can print in Angular?

I have many Divs in My page, they are closed and opened with function(click), I want it to open divs and print when I click on the print button. Now when I click on the print button, I want to show ...
Mahsa's user avatar
  • 1
-1 votes
0 answers
17 views

Aix 4.3 printer device begins with @ [closed]

What does a printer device name beginning with an at-sign (@) mean? It must be virtual because it is not showing as an available printer. How is it created?
user2443507's user avatar
1 vote
1 answer
105 views

Chrome 117 update bad print layouts

Anyone see these changes for printing layouts ? Any good ideas for fixing, simple data tables with default settings are being rendered terribly Cheers for any tips to resolve fix overlapping and odd ...
JNA's user avatar
  • 11
0 votes
0 answers
9 views

Problem With Print Report Directly To The Printer in Asp.net Core Web Api Using Devexpress

var report = new InvoiceReport(); report.DataSource=sourceOfReport; //Print Directly To Printer report.CreateDocumentAsync().Wait(); ...
Mohamed Fouad's user avatar
0 votes
1 answer
29 views

Printing WPF window to a PDF wirthout print dialogue

Working on an app for creating purchase orders. I simply used a wpf window as the final document's template and I was originally using PrintDialog(), doing some adjustments to the scaling, then ...
m4rs___'s user avatar
0 votes
0 answers
9 views

Print watermarks on every printer in every printjob

I hope to find a solution to a problem I've been struggling with for the past three months. The task is as follows: To protect information, I need to develop a software solution that can "force&...
Wannabesesh's user avatar
0 votes
0 answers
8 views

How can I print from a webView in android?

I have a webView app that displays a website. In that website there is a print button which webView does not permit to use the window.print() method. How can I capture the event triggered by that ...
Rea Meir's user avatar
0 votes
0 answers
18 views

Best way to get consistent, high quality PDF files for print from Inkscape [closed]

Inkscape 1.3 is out, and I have a question: What do I have to do to make Inkscape output very consistent, high quality .PDF files to send to a Photo Calendar Print Service? Last year about this time, ...
Roy Harper's user avatar
1 vote
1 answer
84 views

Controlling headers and footers when printing using TEdgeBrowser component

The TWebBrowser component has been replaced by the TEdgeBrowser. My goal is to customize the text in the header and footer sections of a printed HTML page when the user prints using the TEdgeBrowser ...
Kyle Williamson's user avatar
-1 votes
0 answers
26 views

Question for basic If-claus in Microsoft VBA

I wrote a script which is checking files and if some parameters are true in my if-clause the file will be printed. It looks something like this (can't post the true code because it's from my company): ...
joe291's user avatar
  • 1
0 votes
0 answers
11 views

HTML Print Area style in Modal

I'm confused when i want to print modal body area and directly print on modalarea to fit paper of 58mm here the output and in the page of print chrome the output cant fit here my code ` <head>...
Akun Sampah's user avatar
1 vote
1 answer
20 views

How would I use CUPS to get the printers in my network in C++?

CUPS seems to now be requiring a http_t* http; variable in cupsGetDests(&dests); method and right now I don't know what to do since I haven't found any reference online yet. I already did some ...
Tobias's user avatar
  • 13
0 votes
0 answers
25 views

How do I set printer settings without admin permissions of a printer job that prints a pdf or ps file?

I have been stuck on a problem for a while. My problem is in python but if you have example code for a solution in other languages I'm happy too. This is one of my last attempts to get the pDevMode ...
Pennervomland's user avatar
-4 votes
2 answers
46 views

Python print/write [closed]

Ok so, when I print text and text1 it displays something like this: END OF TEXT HERE BEGINNING OF TEXT1 HERE I want the output to be like this for both print and write: END OF TEXT HERE BEGINNING OF ...
spike666spike666's user avatar
0 votes
0 answers
61 views

Reading Xon-Xoff Standard Protocol

I'm trying to read the state of a old printer connected by RS232. In the manual of the printer I found the settings of the port: Baud 9600, 8 bit, 1 stop bit, No Parity, Flux Control Hardware. The ...
Gianfranco Vrech's user avatar
0 votes
0 answers
35 views

Openlayers: Rendering stuck - Unable to print PDF with higher resolution

I am trying to use the openlayers example to print the PDF & it is working for lower resolution prints. I am trying to fit the map to a certain polygon extent: ` map.setSize(printSize); ...
Surender Rengaraj's user avatar
0 votes
1 answer
24 views

syncfusion.PDFviewer printing blank page after creating setup

I have to print existing pdf. I am using window application c#. I have install nugget - Syncfusion.PdfViewer.Windows (23.1.36) I also have license. When I run application through VS 2019 - printing ...
Kirti Zare's user avatar
0 votes
0 answers
13 views

flutter print pos image error Invalid value: Not in inclusive range 0..64377: 64522 #0

on print image raster getting an error E/flutter (29670): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: RangeError (index): Invalid value: Not in inclusive range 0..152976: 152977 ...
ahmed ashour's user avatar
0 votes
3 answers
29 views

How can I alternate lines of output using textwrap in Python?

As an example of what I need, let's say abc = 'abcdefghijklmnopqrstuvwxyz' zyx = 'zyxwvutsrqponmlkjihgfedcba' An example of the output I would like: abc zyx def wvu ... and so on, printing 3 ...
phagephan's user avatar
-2 votes
2 answers
54 views

passing in a String[] and printing it in main statement java

I want to print the result of a method that passes in a String[] but I'm getting the error: The method tokenize(String) in the type ReadingScore is not applicable for the arguments (String[]) I have ...
Emma Cheney's user avatar
0 votes
0 answers
19 views

How to Implement thermal printer in a React app

I need to implement thermal printer functionality in my React app. I have tried using packages such as 'node-thermal-printer,' but we are unable to utilize these node packages as they do not seem to ...
Nandha's user avatar
  • 1
0 votes
0 answers
14 views

Quasar maximized q-dialog not printing whole screen

Vue 3 @quasar/app-vite 1.4.6 (@quasar/cli 2.2.3) Sorry for messy format I setup a test dialog: <q-dialog maximized v-model="test"> <q-card> <h1 v-for="i in 21" ...
PleaseDontHurtMe.jpeg's user avatar
0 votes
1 answer
31 views

How to change a GDI CDC printing configuration to Duplex during output?

I have C++ code that works for generating printer output (quasi/abbreviated code): CDC dcPrinter; dcPrinter.Attach(hdcPrinter); DOCINFO docinfo; dcPrinter.StartDoc(&docinfo); dcPrinter.StartPage();...
user386093's user avatar
3 votes
2 answers
137 views

How to change settings of a printer without admin permissions - python

I've been sitting on this problem for a while now and still can't wrap my head around it. I have the code below but I can't even really test it because I do not have access to administrator ...
Pennervomland's user avatar
-1 votes
1 answer
15 views

Print Or cancel it gives the same message and delettes the generated image

In the below code which is working fine but only single issue i am facing is that the file which is generated by html2canvas is deleting on canceling the print which is correct but when i successfully ...
usman610's user avatar
  • 477
0 votes
1 answer
22 views

Why won't my python function print the right thing?

I was trying to make a python tic-tac-toe board but it woudn't print out: AA=0;AB=0;AC=0;BA=0;BB=0;BC=0;CA=0;CB=0;CC=0 AAtext="AA";ABtext="AB";ACtext="AC";BAtext="BA&...
Joey Jin's user avatar
0 votes
2 answers
37 views

tqdm is not continuing its progress and starts from anew

I have the following working code. I would like to print all the 5000th item's loss each one (% 5000) on a new line but the progress bar should continue its way once and for all (should be printed ...
user1766349's user avatar
-1 votes
0 answers
8 views

Edit PRINT function in Drupal Social_Media

I am working in Drupal 10 with Bootstrap and using the Social Media Share (social_media) module. When I click the "PRINT" button, it includes all "Add new Comment" as well as ...
Len Lamberg's user avatar
2 votes
2 answers
71 views

Statement printing at wrong line (Java Token problem)

Problem Outline: Given a string, 's', matching the regular expression [A-Za-z !,?._'@]+, I have to split the string into tokens. "We define a token to be one or more consecutive English ...
Habib's user avatar
  • 81
0 votes
0 answers
20 views

How to set paper feed size in thermal pos printer?

i have a question that how to adjust the paper feed size settings on a POS 80 thermal printer? I don't want extra space at the end of the printed page. To ensure that there is no extra space added at ...
Radhika Padiya's user avatar
1 vote
1 answer
18 views

stop bulma ribbons from overlaying content when printing

I am working on creating a research report. When I want to save the report as a pdf the navigation ribbon overlays the content. How can I avoid this? I don't want to hide the ribbons with printing, ...
florian's user avatar
  • 626
0 votes
1 answer
27 views

Upload .docx .pdf edit and print via angular app

I'm working on an Angular application and I need to implement a feature that allows me to upload and preview both .docx and .pdf files. Additionally, I want to provide the capability to edit these ...
stevan antic's user avatar
0 votes
0 answers
19 views

Sending Driverless Print Jobs (PDF)

I have tried a number of code variants for C#/>net 6.0 code below. They all return code 200/Success but no job prints. The printer is listed as supporting IPP Everywhere https://www.pwg.org/ipp/...
Michael Lacagnina's user avatar
-3 votes
0 answers
32 views

How to detect a event (like order placed) happens on server?

I am working on a restaurant application in laravel, where we accept orders from app or website. For this, I am trying to implement a functionality where, whenever an order is placed the invoice/pos ...
MdFarzan's user avatar
  • 314
0 votes
1 answer
34 views

Difficulty in compiling an old Python file in a new Interpreter

Print statement had no parenthesis in Python 2. I am trying to run a file having print statements with no parentheses in an advanced version of python, but the Interpreter throws an error regarding ...
Zulqarnain Khan's user avatar

1
2 3 4 5
465