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,367
questions
-2
votes
0
answers
13
views
Why Java shows strange characters when print a OptionalDouble? [duplicate]
I declared a OptionalDouble vector, and when the program print this give me strange characters instead of the vector values:
[[Ljava.util.OptionalDouble;@37bba4006. [[Ljava.util.OptionalDouble;@...
0
votes
0
answers
15
views
Set a default printer in a React so that the user isn't prompted to select a printer and can print directly from the app?
i tried this only npm install react-to-print and created a ComponentToPrint for a div to print and on click of a button to print this div. when i click on print it propmts for a printer to select each ...
0
votes
0
answers
10
views
Epson java adk unable to claim acces to printer inside docker container
this is fragment of my code:
try {
ptr.open("WIFI");
log.info("printer status open {}", ptr.getState());
} catch (JposException e) {
...
0
votes
1
answer
20
views
Is there a way to print a label to a Zebra Gx420t printer without the zebra designer software using the saved template?
I have created a simple label using Zebra designer 2 that prompts for a qty and another number. It prints to my GX420T printer perfectly.
I wish to alow other workers to print this label but they do ...
-7
votes
0
answers
44
views
How this line works? (python) [closed]
def max_subarray_sum(nums: list) -> int:
pass
print(max_subarray_sum([-2,1,-3,4,-1,2,1,-5,4]))
I want to know how the print line statement works in this program? I hope understanding this ...
0
votes
1
answer
12
views
Create server subscription for cups using IPP
I'm trying to create a server/system subscription for cups using IPP. According to their docs, it should be possible; however, I can't seem to get it to work, and I'm not finding anything online.
I ...
0
votes
0
answers
14
views
How to properly control page break in printing feature of mozilla firefox?
I have a problem with page breaks and tables on Mozilla firefox. I want to allow page break in the first table (.infobox) and it doesn't work :
table : should have break
Image: table not appearing ...
-4
votes
2
answers
36
views
Repeated result for if statement in python [duplicate]
token_list = ['lg', 'was', 'beaten']
defined_words = ['hand', 'leg', 'head', 'arm', 'finger', 'wrist', 'thigh']
for i in range(0, len(token_list), 1):
if token_list[i] in defined_words:
...
-2
votes
0
answers
25
views
IPP printer page size not available in Windows [closed]
I am working for a printer manufacturer and adding IPP support to our small form factor printers which print on 57mm paper roll.
The printer works when connected to Linux, but when connected to ...
-1
votes
0
answers
41
views
What may I do other than printing a message to display this concept? [closed]
'''
<<<Control flow in Python>>>
A Python program to simulate a scenario of baking and eating cupcakes at a party
'''
# Class Initialization
class Cupcake:
def __init__(self, ...
0
votes
0
answers
25
views
python3 print command does not recognize colored text
Python below opens a yaml file, read some color-formatted text and print it. text1 and text2 somehow remains in text, color is not applied. If I set the text as a variable, it works. So, the way I ...
2
votes
1
answer
79
views
Why my code prints multiple same lines when it reaches the end of terminal?
import time
import sys
def animate_string(input_string, delay_second=0.01):
current_string = ""
for target_char in input_string:
if target_char == '\n':
# Print ...
0
votes
0
answers
27
views
Excel VBA lets me set a printer without a port, but only if I set within the PrintOut method
I have an Excel macro that sets a printer based on user input, and then prints. I built it on inherited code and I've been learning as I go, so there are parts that work and I don't know why.
The code ...
0
votes
0
answers
12
views
react-native bluetooth printing gives error
im working on a simple react-native receipt application.
currently using package : https://github.com/AllInOneYT/react-native-thermal-printer
when i use
await ThermalPrinterModule.printBluetooth({ ...
-1
votes
0
answers
92
views
+50
Making a printable CSS rectangle and grid
Trying to make CSS shape shown in the picture that has these compartments. I want to fit in a container or span in each of these compartments. Those grid lines shall separate the containers or span ...