23,333 questions
0
votes
0
answers
33
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 ...
0
votes
1
answer
36
views
In Delphi TPrintDialog, can the printer name and paper size be programmatically set?
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 ...
0
votes
0
answers
24
views
Creating Google Could OAuth client API for HP MFP Scan to Email [closed]
I have an HP Color LaserJet MFP E78330 with the latest firmware according to HP.
Up till now we have been using "Scan to Email" without issues but the recent changes to OAuth requirements ...
-1
votes
0
answers
19
views
hai, print the text file in dot matrix printer in vb..it is working but i want to shrink the text while printing... please help me
Dim proc3 As New System.Diagnostics.Process
With proc3.StartInfo
.FileName = "cmd.exe"
.Arguments = "/C type c:\modem\CR_DR_OT.txt>prn"
...
0
votes
1
answer
33
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
votes
0
answers
18
views
EPSON EPOS-XML XSD SCHEMA FILE [closed]
I have looked and tried to download the XSD for the EPOS XML schema from all over the place and I can't seem to find it anywhere. Does anyone, perhaps who works for Epson, can help me out here?
0
votes
0
answers
28
views
How to Preview and Silently Print PDF (Blocking Virtual Printers) in Electron for a Pawning Management System?
I’m working on converting an existing CodeIgniter-based web pawning management system into a desktop app using Electron. My requirements are:
PDF Preview: When printing, the user should see a preview ...
0
votes
2
answers
41
views
Hide header and footer when print but keep the default page count
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 ...
0
votes
0
answers
37
views
Windows print job successful with 0 bytes/pages
I'm periodically printing out automatically generated PDFs via Powershell on the office printer (network), from a VM Server. It usually works, but every now and again, no document comes - as in, if 5 ...
1
vote
1
answer
45
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>
&...
-1
votes
0
answers
61
views
Chromium printing - `size: landscape` causing unexpected margin
I have a web page, that I want to print. Depending on what the user is going to print, the orientation needs to be set programatically to either Landscape or portrait.
This seems to work ok when using ...
-5
votes
0
answers
79
views
My backslash n command is not breaking my line [closed]
This is the code can somebody find the problem?
todos = []
while True:
user_action = input("Type add ,show, complete, edit or exit: ")
user_action = user_action.strip()
match ...
1
vote
0
answers
22
views
C# PrintPreviewControl Ignores Printer Page Settings?
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, ...
0
votes
0
answers
37
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
16
views
Hybrid Vue/Capacitor Android app prints Brother label at wrong size (50 × 29 mm instead of 62 × 29 mm)
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 ...