Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
Best practices
0 votes
4 replies
46 views

I am implementing custom document printing using Android’s Print Framework. Using the Android's documentation link as reference: https://developer.android.com/training/printing/custom-docs The flow I ...
Rohan Pande's user avatar
0 votes
0 answers
151 views

I have installed a new printer (HP Office Jet Pro 9010) and removed all old printers from the list via Windows in the "Printers and Scanners" menu (remove device). After that, when I try to ...
Daniele's user avatar
  • 109
1 vote
1 answer
89 views

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 ...
Nico Sz's user avatar
  • 133
-3 votes
0 answers
66 views

According to Google in order to do the subject, I should issue set print elements unlimited Is this just for the current session? If not - how can I make this permanent?
Igor's user avatar
  • 6,473
0 votes
0 answers
66 views

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 ...
Jeff325's user avatar
Advice
1 vote
1 replies
104 views

The prompt_toolkit module allows displaying output while simultaneously waiting for input without breaking the input line. Here's an example from the developer: import asyncio from prompt_toolkit....
IlayVanse's user avatar
Best practices
1 vote
1 replies
54 views

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…)
Adler's user avatar
  • 2,887
0 votes
0 answers
67 views

I originally had a Raspberry Pi running Raspberry Pi OS (Full Desktop) with Apache serving a Flask app on port 80: from flask import Flask, request from escpos.printer import Usb app = Flask(__name__)...
Luis de Benito's user avatar
1 vote
1 answer
79 views

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 ...
Josh Pudsey's user avatar
0 votes
0 answers
47 views

I'm creating an XtraReport (DevExpress Reporting) that prints a table of people. Some table cells are merged by tag using: xrTableCell.ProcessDuplicatesMode = ProcessDuplicatesMode.Tag; When adjacent ...
Lưu Thanh Sang's user avatar
0 votes
0 answers
51 views

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 ...
Bhav's user avatar
  • 2,287
0 votes
0 answers
91 views

Unable to set the paper size on printer settings UI with PrintDialogEx, it's always giving setting to letter in mfc. Please let me know for any issue. PRINTPAGERANGE cRangeBuffer[CXPrintRangeData::...
Narasimha Rao K's user avatar
1 vote
1 answer
87 views

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 ...
Ben B's user avatar
  • 45
1 vote
0 answers
137 views

I can connect to an Epson printer and see it in the SetupPOS for OPOS.NET application. I can run a test print and it prints a slip of paper: I'm attempting to write a .NET 8 C# class library to be ...
Bhav's user avatar
  • 2,287
1 vote
2 answers
151 views

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(...
Paul Jurczak's user avatar
  • 8,628
0 votes
1 answer
112 views

I'm working on PSA (Print Support App) development with the following environment: Windows 10 22H2 and Windows 11 SDK 10.0.26100.0. In the appx manifest, I attempted to register a background task ...
Jeff325's user avatar
1 vote
0 answers
43 views

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 =...
Chaitanya Kota's user avatar
7 votes
0 answers
179 views

When a pandas DataFrame is printed, the MultiIndex column levels are aligned with the 1st (left most) column instead of the last (right most) column: import numpy as np import pandas as pd df = pd....
sds's user avatar
  • 60.5k
0 votes
1 answer
158 views

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 ...
Jared Nel's user avatar
0 votes
0 answers
85 views

Description I have a .NET 8 / C# console application that prints labels using a TSC TTP-225 printer via raw commands. On the first execution, the printed label has incorrect coordinates, causing ...
Voucik's user avatar
  • 103
0 votes
0 answers
68 views

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 ...
silverbrook4's user avatar
2 votes
1 answer
112 views

How can I customize the header and footer in Firefox's print preview? By default, the page title is displayed at the top left, the URL at the top right, the date at the bottom left, and the page ...
Peter's user avatar
  • 1,402
-1 votes
1 answer
175 views

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 ...
spinhead's user avatar
0 votes
1 answer
56 views

I'm looking to export a logbook of mine to paper. The logbook consists of entries of hours based on dates that continue row by row. I need to export these entries through printing with each page ...
Anthony Galushka's user avatar
1 vote
1 answer
59 views

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 ...
silverbrook4's user avatar
0 votes
1 answer
82 views

When no @media print is specified in the CSS file for a webpage, what width does the browser use to determine which CSS applies to the printed page? When we write our page code, we use a laptop first ...
MrCycling's user avatar
  • 3,088
2 votes
1 answer
53 views

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 ...
Tom S's user avatar
  • 695
0 votes
0 answers
28 views

In Windows the settings of paper sizes supported by the printers (found under Print Server Properties/Forms) include paper size and margins However, the class System.Drawing.Printing.Papersize ...
Vadim Rapp's user avatar
1 vote
2 answers
477 views

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 ...
JackRay's user avatar
  • 53
0 votes
0 answers
83 views

I'm new with this type of problems. I wanted to ask a question about my issue that I have with ghostscript. Maybe Im doing something worng or not correct. Im using the ghostscript version 10.05.1 and ...
Zenek Główna's user avatar
6 votes
2 answers
284 views

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 ...
CrazyEight's user avatar
1 vote
1 answer
79 views

I am using the printing library in Flutter to show a PDF preview. It causes the default browser dialog to show up, and I have an option to save the PDF to my machine. When I save it to my machine, ...
Muhammad Taimoor's user avatar
1 vote
0 answers
186 views

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 ...
Joey56's user avatar
  • 35
1 vote
0 answers
160 views

I’m trying to print a bitmap image using TSPL commands for a thermal label printer. I have this setup: I convert a PNG/JPEG image into bitmap format and a byte array. Then I convert that byte array ...
Suzy's user avatar
  • 11
0 votes
0 answers
138 views

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 ...
Pierre Bonville's user avatar
0 votes
0 answers
53 views

My Flutter POS app works with a Sunmi Android 13 device (dual-screen) and a Possify USB printer. Normally, printing works flawlessly. However, after rebooting the Android device, the printer stops ...
Gu Ki's user avatar
  • 13
2 votes
1 answer
76 views

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 ...
Joseph Hannigan's user avatar
1 vote
1 answer
96 views

Trying to get (and eventually set) the paper selection at runtime using Delphi FireMonkey for MacOS. I've substituted what I think are the correct variables and functions into a routine that I have ...
user2580203's user avatar
0 votes
0 answers
102 views

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 ...
Mohid's user avatar
  • 133
0 votes
0 answers
252 views

on a Windows 10 64bit OS machine I installed printer drivers and tried to print from MS Word and it printed normally. When I try to print from Bartender (11.4) nothing happens. When I try print ...
Oktay Dönmez's user avatar
0 votes
0 answers
124 views

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 ...
Steve Sneed's user avatar
0 votes
1 answer
191 views

Using Delphi VCL. When the user starts a print job, I display TPrintDialog. Ideally, the print dialog would show the name of the printer, paper size and orientation that the user last used (which I ...
user2580203's user avatar
1 vote
1 answer
134 views

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" ...
Lennart Schoors's user avatar
0 votes
2 answers
61 views

I'm working with a html file and i want to hide the default header and footer that browser auto added in when printing with Ctrl + P, but i want to keep the default page counter of browser I tried ...
Vu Duc Hau's user avatar
1 vote
1 answer
62 views

This is my HTML structure of table I am printing out. <body> <div class="tableFormat"> <button onclick="window.print()">Print</button> &...
Steve's user avatar
  • 13
1 vote
0 answers
56 views

I am attempting to use the PrintPreviewControl to preview a test form using custom page settings PrintDialog works fine, e.g. set margins and landscape in code PrintDialog prints the page correctly, ...
mrfrisky330's user avatar
0 votes
0 answers
98 views

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 ...
vinayak's user avatar
  • 23
0 votes
0 answers
31 views

I have a hybrid Android application built with Vue.js and Capacitor that needs to print small labels on a Brother label printer. Everything else works, but the printed label comes out at 50 mm × 29 mm ...
tukinu's user avatar
  • 1
0 votes
0 answers
102 views

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); // ...
Sam's user avatar
  • 1,704
0 votes
1 answer
69 views

In Java I want to print after press enter to do an input but in the same line, e.g: 'Username: // User input // Other print'. Doesn't matter if I need to print in the loop or in the find method, if ...
Bujakiewicz Franco's user avatar

1
2 3 4 5
465