Skip to main content
The 2024 Developer Survey results are live! See the results

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.

0 votes
0 answers
11 views

Can a UNIDRV plugin display notifications?

Can a UNIDRV plugin display notifications (e.g., "Printer is powered off, please connect and plug in USB")? I've noticed that some printers can show notifications or message boxes. I would ...
sehon song's user avatar
-1 votes
1 answer
19 views

Java PrinterJob prints blank pages

I tried printing for the fiest time and found these code snippets: package main; import java.awt.print.Book; import java.awt.print.PageFormat; import java.awt.print.PrinterException; import java.awt....
user26511071's user avatar
0 votes
1 answer
25 views

Lua Script for Reading CSV Produces Incorrect Output Format on Last Line

Issue Description I am writing a Lua script to read a CSV file and parse each line into a table. While processing the CSV file, I noticed that the output format of the last line is incorrect. Here is ...
Weijia Liu's user avatar
0 votes
2 answers
27 views

How to print in NASM assembly

i've made a simple print function in assembly which does not work as intended. The function should print only the msg variable but instead its printing all the variables declared this is the code ...
Hrodebert's user avatar
0 votes
0 answers
21 views

@page print multiple pages not setting margin correctly

I must have gone through 100+ posts on Stackoverflow but without a solution! I want to set an equal margin of 20mm on all 4 sides without header & footer on all the pages. Here's the problem. The ...
Elaine Byene's user avatar
  • 4,088
0 votes
0 answers
15 views

NiceLabel Cloud Printing Keeps Saying 404 but not why

I'm tried printing a label using the NiceLabel developer portal to a Zebra ZT411 printer defined in the Control Center. When I fetch the printers, it exists, but when I try to print to it, I get a 404....
Woodsman's user avatar
  • 1,107
1 vote
2 answers
51 views

Can you pass a variable into a classes __str__ to change the output?

I want to pass a variable into str (inside of a class) to change its output. For example: class Basic: def __str__(self, specialCase=False): if specialCase == True: return &...
user26426252's user avatar
0 votes
1 answer
23 views

I cannot provide on-page padding in print mode

We are dynamically creating a PDF, and due to the varying length of the content, some of it overflows onto the next page. While we've managed to prevent content from overlapping with page breaks, we'...
Volkan Korkmaz's user avatar
0 votes
2 answers
24 views

How can I do comparison of a value Optional([:])

I am logging out (well, print()-ing) some variables, and too many times as output I have value: Optional([:]) I want to ignore this value, so I tried if a == Optional([:]) { // ignore } else { ...
Vladimir Despotovic's user avatar
0 votes
1 answer
37 views

In Java, Is possible to print doubles like this: "¹" instead of "^1"?

I have two variables, two double vectors. I want to print with Unicode like this: "1¹.¹¹¹¹" (the exponent would be the double), but I don't know how do it exactly. package Math; import java....
Bujakiewicz Franco's user avatar
0 votes
0 answers
27 views

PdfiumViewer is slow when sending pdf to printer

I am testing PdfiumViewer to send pdf to printer in C#. References: https://github.com/pvginkel/PdfiumViewer How can I send a file document to the printer and have it print? I found that it's slow ...
Dave's user avatar
  • 59
0 votes
0 answers
8 views

What are strategies for scaling a 1-bit bitmap for a non-square DPI?

Recently, I've been playing with a pair of dot matrix printers (an Okidata ML186 from the '90s and an IBM Proprinter from the '80s) and have been using them to print both text and bit graphics. Both ...
Matt Patenaude's user avatar
-1 votes
0 answers
26 views

Printronix P8000 Config Changes [closed]

I'm having some issues with a Printronix P8000 line printer maintaining the correct configuration. The issue is that the form length setting is constantly changing from 22 to 66 lines. When it does ...
studebakerhawk's user avatar
0 votes
1 answer
45 views

Add component to html body

I have an Angular 13 (vanilla) app, and I need to print a part of the app. I use the @media print for that an it work (in the angular app alone) But my angular app is build a js file and use by other ...
Thibaud David's user avatar
-7 votes
1 answer
51 views

Printing using %s

enter image description here I tried to print a list using format specifier %s in PYTHON. I thought %s will take only the string value from the list. Why did it take even int and float too. Can ...
rani treasa's user avatar

15 30 50 per page
1
2 3 4 5
1559