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 is a process for reproducing text and images. Both ink and toner are commonly used, with the latter being used for laser printers.

It can also refer to printing text to stdout on a terminal, e.g., the printf function in C or the print construct in PHP.

For programming questions related to 3D-printing, general questions can be asked on https://3dprinting.stackexchange.com/.

23212 questions
5
votes
1 answer

Why aren't CSS3 @page rules working?

I am trying to make a print newspaper that is easily generated from my WordPress site. I am trying to design the print template for it, but in order to control specific pages, I need to use the @page rule. I read this tutorial, which suggests…
Tobias Fünke
  • 2,034
  • 3
  • 24
  • 38
5
votes
3 answers

.NET find paper tray size

Is there a way to find all print trays on a printer and get their paper sizes e.g. Tray1 = A4 Tray2 = A3 Tray3 = Letter I can see a way to get the Trays using something like this but it doesn't seem to have the paper size information. using…
PeteT
  • 18,754
  • 26
  • 95
  • 132
5
votes
0 answers

Calling Windows SelectObject in a printer-compatible device context returns NULL

A recent Windows 10 update (probably and also mysteriously KB4577586) seems to have had the effect of causing calls to SelectObject with a bitmap handle as an argument to return NULL when performed in a printer-compatible device context. The…
Diomidis Spinellis
  • 18,734
  • 5
  • 61
  • 83
5
votes
1 answer

How to create a printing method that doesn't print attributes (without making a copy of the object) in R?

I'm creating a custom S3 object in R, but when I print it the attributes also gets printed. For example: x <- 1:3 x <- structure(x, class = "myclass") print(x) #> [1] 1 2 3 #> attr(,"class") #> [1] "myclass" Fair enough, I haven't yet added a print…
dhersz
  • 525
  • 2
  • 8
5
votes
3 answers

WPF application throws an exception after printing to file via doPDF printer

I have made a wpf standalone application for accounting purposes. The application works and prints well to an external printer or microsoft XPS printer. The problem arises when i select doPDF(an application which outputs a pdf file) as printer. The…
Pankaj Upadhyay
  • 12,966
  • 24
  • 73
  • 104
5
votes
1 answer

how to print another page(or file) when user click browser's print button?

In my web application there is a page such as /article/id. I already add a "print" link on this page, so when user click print link he will be linked to a print friendly page called /article-print/id. The print friendly page use a little different…
flanker
  • 155
  • 2
  • 7
5
votes
1 answer

Print from Chrome is not centered

I create simple page which I want to print from a browser. I put all whistles I was able to find to center my title and picture.