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.
printing
23,371
questions
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 ...
-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....
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 ...
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
...
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 ...
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....
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 &...
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'...
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 {
...
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....
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 ...
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 ...
-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 ...
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 ...
-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 ...