Questions tagged [printing]

Printing is a process for reproducing text and images, typically with ink or toner, on paper using a printer, or on screen.

0
votes
0answers
5 views

How to print only the output cell

I'm using Jupyter 4.3 on Ubuntu 18.04.1 LTS with Sagemath 8.4beta5 as the kernel. I want to print only the output cell. I've tried various ways: Select print review and right click to print. Simply ...
0
votes
5answers
69 views

Writing if statements as one-liners

I want to write one-liner if statements when i can avoiding two lines of code. if 10>5: print( "10 is greater than 5" ) else: print( "nothing here " ) While the following statement is ...
0
votes
3answers
30 views

Printing pattern in unix using awk

need to print log file as per the field data present in file using awk. Sample log file data-- Joe,4 Tony,2 Peter,5 Desired Output (First Field with c<0>---c-- Joe,c0,c1,c2,c3 Tony,c0,c1 Peter,...
-1
votes
0answers
5 views

Printing a map image on thermal Printer,using google maps

I am working as a tech support for a programming company. At the moment i am working on a project where i want to take a picture from google maps and after changing it's threshold so it can be black ...
1
vote
1answer
11 views

Python3- what variables to call

before you criticize me I know I am basic programmer and will probably never get a job or be good. But I need help. Your help. I do not know what variables to call in my functions for it to print my ...
0
votes
0answers
27 views

React Native how to print a component

I'm building my react native app and I need a solution how can I connect to a bluetooth printer and print the following component on a click of a button: <ScrollView style={styles.scrollV}> ...
1
vote
0answers
14 views

ESC/POS image in java

I need to print this image in a thermal printer(SAM4S ELLIX40). I've been searching and testing several codes but nothing actually works, they said "use this command and you'll see a line", I send ...
0
votes
1answer
26 views

How to print some set of vectors with format? [duplicate]

I´ve been trying to print 2 vectors in a table-like format. The trouble comes when elements from list A and list B don´t have the same ammount of floats import math def f(x): y=1/(math.sqrt(1+x))...
1
vote
1answer
17 views

Printing a table in jquery

I would like to print a table without the edit | delete button fields, and center the table in print. I'm trying using this code, but the output print is not as I expected. Here is the output print ...
1
vote
1answer
19 views

WPrinterJob.validatePaper() is changing original imageableArea of page when I click on properties button of Print dialog and after print it

I am printing Legal size paper, when I print it without open properties dialog then it is printing properly, but when I click on "Properties" button for confirm page type (no matter I am clicking on "...
-1
votes
0answers
8 views

Why a print of simple html table becomes very small when printed from a small screen device but not from PC? [duplicate]

I have this page: <!DOCTYPE html> <html> <head> <script src="~/Content/js/jquery.min.js"></script> <style> body {font-size:20px;} table, th, td { border: ...
0
votes
0answers
22 views

Asp.Net C# print outlook msg file

In my project, I have a button that allow user to print preview the file that uploaded. One of the file type is msg outlook email. So is there any way that I can do to trigger the browser print ...
-1
votes
0answers
27 views

Why a print is very small when printer from a tablet or cellphone but prints ok when printer from a pc? [on hold]

I am using a BlackCopper terminal that I am using to print a receipt from webpage via pc or a tablet. It works but when I print from a tablet or cell phone then it prints it very small and out of ...
0
votes
1answer
22 views

C# RDLC Report - Directly to Printer - Format Collapses

I am using a ssrs client rdlc report (3-inch printer) in our WPF application. when the report rendered to.PDF and save it to a temporary path, and then prints the PDF means it works perfectly. But ...
-1
votes
1answer
37 views

Printing order of elements in a dictionary

The Dictionary parm should contain all the keys ['f', 'r', 'b', 'l', 't','u'] and only then the below should happen. The below mentioned iteration prints in an unexpected order, please correct what's ...
0
votes
0answers
28 views

Cannot Print Void Method from Main

I made a main method, insertion sort and want it to print out properly in my tester class. I know that it cannot print because its a void method using arrays and I need it to be a string to print, I'...
1
vote
1answer
21 views

JavaFX 8 + Spring Boot, Print API not showing the Page Setup

I have a simple Spring Boot + JavaFX 8 application like so: package com; import javafx.application.Application; import javafx.print.PrinterJob; import javafx.stage.Stage; import org.springframework....
0
votes
0answers
6 views

Firefox 60.1.0esr (32-bit) print very slow?

I use print action in Firefox (Windows) and I print to Datamax-O'Neil M-4206 Mark II printer. The problem ist that printing ist 1 second slower in new Firefox 60.1.0esr (32-bit) as in old Firefox ESR ...
0
votes
0answers
15 views

having the header and footer on every print page without override

I want to have the header and footer on every print page without override, this is my css code: @media print { footer { position: fixed; bottom: 0; top: auto; display: ...
0
votes
0answers
26 views

How to print a message using cat with utf-8 encoding

In my main script I'm reading a f function from another script using source. This f function uses cat to print some messages with Polish diacritics. The problem is that those diacritics are not ...
0
votes
0answers
30 views

Table border overflows to previous page

I have the following page: table { padding-bottom: 1em; border: solid 2px #6D6F71; border-collapse: collapse; width: 600px; font-size: 0.7em; } th { ...
0
votes
1answer
21 views

How to get Interactive Report attributes in excel file

I have an Interactive report which has no data in it and the No data found message is provided. I need to get the value in that attribute in my excel report generated through Apex Office Print. I am ...
0
votes
1answer
24 views

AWS Lambda function appending characters in return

I have 2 Lambda Functions [A and B]. Function A does a computation and returns 2 strings. Note that I've also tried returning one string. When the function is called alone, the return is the correct ...
0
votes
0answers
17 views

JS window.print() loads before page is loaded in Mozilla & Safari

I'm trying to load the browser load preview from a PDF which is generated from a Blob. It works correctly in Chrome but in Mozilla & Safari the print window opens before page is loaded so content ...
-1
votes
0answers
29 views

How can I print a table with python? [duplicate]

How can I print a table with python NOT in a tabulate mode? So without using Tabulate() and getting a result such as this one: ------ ------- Name1 Number1 Name2 Number2 Name3 Number3 -----...
1
vote
0answers
23 views

Java : programmatically differentiate a thermal printer from a classic printer

I'm building an app with Spring Boot. Its purpose is to print on thermal printers (Zebra, Datamax...). In order to do that, I want to establish a list of printers connected to the user's computer (...
0
votes
0answers
16 views

Printing the content of Runtime Text Template when a WPF Button is clicked

I have runtime text template file in my WPF project. What i tried doing was to print the content of the Runtime Text template file when a WPF button is clicked. Here is a sample code i have: **...
0
votes
0answers
15 views

Remove element from the first printed page

I am working on a set of invoices that have to print nicely inside browser. I have a div which I want to stay at the very bottom of the last page. It works just fine when it's only one page to be ...
-1
votes
0answers
15 views

Php : print on thermal printer from distant server [on hold]

i'm working on a project, the client has a part of that project stored locally, when the client clicks on a print button for example, that request will be redirected to a distant server where the rest ...
-1
votes
0answers
11 views

PDF printing on network printer by LPR in windows 7

I created a printer server to receive print as microsoft xps document, which is able to listen at a default port 515. Whenever there is printer command from client, it works very well in windows 8 and ...
0
votes
1answer
35 views

How to change screening (halftone pattern) of my printer Cups driver?

I am using CUPS with the printer driver which use "application/vnd.cups-raster 10 rastertopj" and i am trying to get the look of dither 4x4 print/output but i am clueless where to change the setting ...
0
votes
0answers
13 views

Transparency lost on LinearGradient paint when printing to MacOS X printer using Java print services

Looking to see if this is a bug in the Java implementation for MacOSX (I'm running 1.8.0_181). I have a LinearGradientPaint with a color that has transparency. This is rendered correctly on screen. ...
0
votes
0answers
27 views

Css Grid layout in mm (for printing)

I'm trying to create a grid layout to print items on a page. The units should be in millimeters but the result is far from correct. I'm using css grid layout to use flow since my items are random ...
0
votes
0answers
8 views

Windows 08R2 Print Job got deleted before print

I'm using C# with windows API(This) to submit a XPS print job to the printer. However I found that sometimes the job will got deleted right after spooling process. Printer model: HP LaserJet M402n ...
1
vote
0answers
9 views

Chrome print preview cut in half on Android tablet and windows XP

I'm having an issue on a project we are working on right now. Chrome on Android tablet and on Windows Desktop does not print the whole generated pages. The problem occurs randomly (1 time every 6/7 ...
0
votes
0answers
17 views

Middle ware between an application and printer

I have an application and I would like this application to send a unique code while requesting a print order on each page. I think I should write a middle application between that application and my ...
0
votes
1answer
27 views

How to print to printer in java [duplicate]

How would I print a simple paragraph on a piece of paper the same way System.out.println("words") would work? Using a printwriter to put it in a .txt file and printing from there would also be a ...
0
votes
1answer
21 views

Arduino print Syntax Serial << '[' << RSP_SUCCESS << ']' << endl;

I am working on Io Rodeo Colorimeter sensor board I get an Arduino code and when I see the Arduino code then I find: Serial << '[' << RSP_SUCCESS; Serial << ',' << _DEC(...
0
votes
1answer
28 views

How to direct Print in PHP with select default printer from web application?

I develop a web based label print application. So Now need to print this automatic without browser print preview. so how can I do this with php direct print...
-4
votes
0answers
22 views

Storing Multiple accounts

Im currently writing a program in which a user enters an initial name and balance and then they can call a deposit or withdraw method to either increase the inital balance or decrease, then shows ...
0
votes
0answers
22 views

javascript print window divide repeater output in pages

I am developing a school management system for my school. It runs under DotNetNuke (I do have some experience with it) so the platform is asp.net and I develop in C#. The project is in an advanced ...
-1
votes
2answers
31 views

Can someone please explain why my print method isn't working?

I am trying to call a getName and getBalance method from another class called Account in my printbalances method in class bank. but it is not working it prints null after inputing customer and balance....
1
vote
2answers
51 views

Python: Error printing dictionary with .item()

I'm starting with dictionaries and while trying to print a dictionary with .items(), I got this: dict_items object at 0x0000000000000293B182 Here is the code I used: vital_info = {"first_name": "...
-2
votes
0answers
11 views

how to export datagridview data to crystal report page

I have datagridview and just I need to show its content in my crystal report page when I click button how I can do, please . I create datagridview and printing button also I create crystal report ...
-8
votes
1answer
29 views

VBA - Select and Print Range of Cells in Excel [closed]

I am looking for a way to print a range of cells from an excel spreadsheet. We use an Excel spreadsheet as a calendar for our job scheduling, and print the schedule out several times a week. I always ...
0
votes
0answers
15 views

Loops and Messages in MIPS

I am trying to find a way to display an error message when the user's entry is greater than 127 and less than -128. Else, it ends the program. When I try to assemble it the program always puts an ...
0
votes
0answers
18 views

IPP batch install of CUPS managed printers in windows

In our Department we're using CUPS and when we install a new printer we have to configure IPP ports (along with printer drivers etc.) for the computers to talk to CUPS. Since we have many machines ...
-2
votes
0answers
15 views

Android and Bluetooth Printing to Zebra by sending raw data

I'm trying to send the spooled data to zebra thermal printer through Bluetooth without success. when I send data to the printer, its Bluetooth icon blinks means it is receiving the data however ...
-1
votes
1answer
29 views

How to print password protected pdf?

PrintDocumentAdapter pda = new PrintDocumentAdapter() { @Override public void onWrite(PageRange[] pages, final ParcelFileDescriptor destination, CancellationSignal ...
1
vote
0answers
25 views

ASP.NET Core 2 IIS server side printing fails

I tried to print from server in the IIS. It working from the Visual Studio but when publish and host from IIS, the print not working. Below is my code: var p = new Process(); p.StartInfo = new ...