23,239 questions
1
vote
1
answer
44
views
TSC TE210 Printing extra label when print executed by application
I want to print data on a label.
I created a ZPL template file and in my application i read that template file, look up a specific string, replace that string with data from my application and then ...
0
votes
0
answers
40
views
How to debug Microsoft-Windows-BrokerInfrastructure service
I attempted to declare a print background task (PrintSupportExtensionBackGroundTask) in the appx manifest and register it with the system. However, when the foreground application (i.e., the main ...
Best practices
1
vote
1
replies
51
views
How can I print very thin lines (e. g. 1/300 dpi) to PDF via Chrome? (Prevent rounding to full css-px)
I would like to print a 1/300 inch wide line with chrome (PDF). Unfortunately, the line is rounded up to a value of a css-pixel.
(It has to be Chrome [not PRINCE XML], due to some advanced features…)
1
vote
1
answer
69
views
EPSON LQ-350 - Control Continuous Printing via C# code to print line by line and prevent form feed
Use case: to dequeue plain string messages and print them line by line on to tractor feed paper without a form feed happening after each message is printed. Current solution (in code below) prints one ...
0
votes
0
answers
50
views
Epson TM-m30III don't print the £ symbol
The Epson TM-m30III is configured like so in the utility app:
I'm trying to print to the printer in a C# class using the Windows.Devices.PointOfService library. My code:
public async Task ...
1
vote
1
answer
78
views
Ubuntu printing PDF with fields does not print filled in fields when filled with Python fillpdf
I'm currently using the fillpdf Python library to fill a template PDF with generated data. I'm running this process on Ubuntu 20.04 server, trying to print to a Kyocera ECOSYS p4060dn.
An example of ...
1
vote
2
answers
150
views
How to pretty-print a tuple of NumPy scalars?
This NumPy 2.2.6 script:
import numpy as np
a = np.arange(24).reshape(2, 2, 2, 3)
idx = np.unravel_index(np.argmax(a, axis=None), a.shape)
print(idx)
will print:
(np.int64(1), np.int64(1), np.int64(...
1
vote
0
answers
40
views
printer italic font ascii (no html tags os font styles)
We are using citizen/HP printer to print receipt.
to print Bold characters uses following code
string Bold = Escape + (char) 33; // u001b!
string BoldStart = Bold + (char)8;// u001b!\b
string BoldEnd =...
0
votes
1
answer
158
views
Google Sheets App Script Page to Print is blank, but the URL is correct - When running the app script
I am trying to create a button that, when clicked, prompts the user to print a specific sheet of information.
The script successfully saves the document as a PDF.
It also manages to open the document ...
0
votes
0
answers
66
views
Reasons Printing Via a Socket Connection Would Fail
I am writing a program that involves printing Raw Printer Command Language (PCL) files wrapped in Print Job Language (PJL) commands. I print it via a port 9100 socket connection to the printer using ...
-1
votes
1
answer
169
views
How can I make awk print a text string followed by the entire line piped from a previous command?
I have 8 blocks of code: this, with a different path and site name. My goal is when the first word of the return is something other than "Success:" print the entire line, preceded by the ...
1
vote
1
answer
59
views
My Printer Macros Print documents on Some Printers and Silently Exit The Job on Others
I have been working on a printer macro that uses Python to paste a letterhead onto a PDF message and then send it to the printer to print. In most of the companies' offices I set it up in, it works ...
2
votes
1
answer
52
views
How to localize content property in margin at-rules of paged media?
I'm generating PDFs from a webpage using print styles and want to include localized page numbering (e.g., "Page 1 of 5" in English, "Side 1 av 5" in Norwegian) in the bottom-right ...
1
vote
2
answers
427
views
Using Pandas' set_option('display.max_columns', None), but the output still splits in blocks
Entering pandas set_option('display.max_columns, None) causes the Python print function to print just some of the columns, then, below that, come back and print the rest of the columns.
I downloaded ...
6
votes
2
answers
279
views
UWP - Print Support App - virtual printer not showing up
I want to create a UWP Printer application to set up a virtual printer that I then can select from windows print dialog following the Print Support App design guide as good as I can.
I expect that at ...
1
vote
0
answers
175
views
VBA: Referencing and Using PDFCreator / PDFForge
I'm having issues properly referencing PDFCreator 6.0.1 in my VB project (Microsoft Excel). First off, I found out I simply couldn't with the free version, so I've started a free trial with PDFCreator ...
0
votes
0
answers
136
views
Is it possible to use ANSI escape characters for color printing in a ScrolledText widget?
I want to redirect output to a ScrolledText wigget in a tkinter environment, and use the print function to display strings with colors in the widget.
My code prints the same string to the terminal and ...
2
votes
1
answer
75
views
excel VBA Printing Files to crazy sizes
I've been attempting to create a macro that creates a pdf for each worksheet beyond a certain sheet, that being sheet 6 onwards, but when it does create a pdf it creates them at different page sizes ...
0
votes
0
answers
100
views
Electron JS Print Receipt with electron-pos-printer cuts page too soon and doesn't print properly
I am building a POS system in Electron JS 35.0.1 and Angular 19. I have installed electron-pos-printer 1.3.6. The printer is triggered by a websocket notification from my backend. Currently the ...
0
votes
0
answers
124
views
Delphi TPrintDialog always uses default printer
In Delphi XE2, I'm using a TAdvStringGrid to print a simple report. Prior to submitting the job, I execute a TPrintDialog to select the target printer, but regardless of which printer I select in the ...
1
vote
1
answer
131
views
How to set viewport width for print media?
I've been doing some testing with print CSS, and getting wildly different results in different browsers. Considering the example below, Safari prints "This viewport is more than 1200px" ...
1
vote
1
answer
61
views
CSS - Failed to separate the double-bordered divs inside table during printing in electron JS
This is my HTML structure of table I am printing out.
<body>
<div class="tableFormat">
<button onclick="window.print()">Print</button>
&...
0
votes
0
answers
97
views
How to fit a simple HTML page for printing on a TSC TTP-244 Pro label printer (40x60mm)?
I am working on printing a simple HTML page using a TSC TTP-244 Pro label printer. The label size is 40mm x 60mm. I have already set the page size correctly in the printer setup, but when I print the ...
0
votes
0
answers
99
views
Issue printing PDF file: Loading preview takes forever in Chrome
I want to use the follwing script to print a PDF file directly in my web application:
const blob = new Blob([fullArray], { type: 'application/pdf' });
const url = URL.createObjectURL(blob);
// ...
0
votes
0
answers
38
views
FMX TWebbrowser Print Preview
To print from windows 10 in FMX TWebbrowser i use
WebBrowser1.EvaluateJavaScript('window.print()')
this JavaScript directly show print dialog.
How to show print preview before opening print dialog?
...