I try two use sidewaysfigure from the rotating package in the twosided memoir class. The resulting figures look correct in the pdf that is generated, with the page rotated by 90 degrees.
However, when I print the document (on linux, using CUPS), some of the pages with a sidewaysfigure are upside down (rotated by 180 degreeS).
...
The problem is that my application only prints the first document fine. The second document is empty, only the page number is printed, the rest of the page is empty.
In Qt4, I'm initializing the printer in the main.cpp in the following way:
mw->printer = new QPrinter(QPrinter::HighResolution);
mw->printer->setPaperSize(QPrinter::A5);
m...
Dear community.
I am almost done with implementing a printing functionality, but I am having trouble getting the last hurdle done with.
My problem is, that I am printing some reports, consisting of a header (with information about the person the report is about), a footer (with a page number) and the content in the middle, which is a F...
When printing a QTextDocument with doc->print() I almost cannot see the horizontal rules inserted by <hr>. When printing to PDF these are clearly visible. But when printed to a printer these lines are very very thin lines, almost invisible on the paper.
How do I fix this? I currently helped myself by inserting an <img> with a black pixe...
I'm still learning C++ coding.
I'm having troubles getting say ResultsBox->Text to printer successfully.
What is the proper way to print in C++/CLI?
I think im missing something simple.
Ive tried multiple different routes/syntax's that ive read online/ in books.
All of which got me to a dead end.
Please even a rundown on the method...
After adding Print Document, Dialog, and Button to my Forms app i now have
UriFormatException
and
A first chance exception of type 'System.ComponentModel.Win32Exception' occurred in System.Drawing.dll
Additional information: Access is denied
Is there something wrong with the strings in my Document? Preview looks fine.
but unhand...
I can't seem to find an API call that returns the driver name for a Windows printer. Note that I'm not talking about the friendly name of the printer in the printer folder, I'm talking about the name of actual driver being used as shown on the "Advanced" tab when you look at the printer properties:
I'm trying to detect when I'm printi...
Hi there,
Time to ask an odd question.
window.print(); Prints only one page of 2 pages in IE8 & IE7 even the same prints both pages in FF.
Now if I cancel the print dialog and just go to File -> Print I get both pages in both IE & FF.
window.print(); is included in ONLOAD
Any idea why?
Thanks
Babak
...
Hi again,
Does anyone know of a best practice print document for printing a website in IE6? I have a specific page that needs to be printed and it comes out well in other browsers except IE6 where it is being chopped off by a huge amount on the right side of my page.
Thanks
...
I have a need to print out multiple PDFs with the help of javascript. Is this even possible without rendering each PDF in a separate window and calling window.print()?
Basically, I would like to be able to do something like print('my_pdf_url').
Edit
After some searching, I have come to the conclusion that there are no other methods tha...
I'm using css to only print a section of a page:
body {
visibility:hidden;
}
.print {
visibility:visible;
background-color: white;
margin: 0;
}
The section above the element I want to print gets properly hidden in the print output, however it still takes up the area of space. I tested this by making a ...
I have a Word 2007 document with many sections. Each section enables / disables duplex using a PCL5 escape code in the header on page 1 of the section.
PCL5 printers are getting rarer, especially high volume / capacity ones.
Is there an equivalent generic code that could be used instead of a printer specific code?
Or is there a PCL6 ...
We're going through a round of sql-server stored procedure optimizations. The one recommendation we've found that clearly applies for us is 'SET NOCOUNT ON' at the top of each procedure. (Yes, I've seen the posts that point out issues with this depending on what client objects you run the stored procedures from but these are not issues...
We're developing a browser-based warehouse app that needs to print labels and invoices regularly. We want to be able to print to the local printer without clicking through the the usual browser print dialogs. Is this possible? Possibly using a greasemonkey userscript? We don't want to have to setup a whole CUPS printer network and de...
I wrote a program that generates a BufferedImage to be displayed on the screen and then printed. Part of the image includes grid lines that are 1 pixel wide. That is, the line is 1 pixel, with about 10 pixels between lines. Because of screen resolution, the image is displayed much bigger than that, with several pixels for each line. I'd ...
Hi Gurus,
We are using the following code to disable Print option in PDF. Works really well.
PdfReader reader = new PdfReader("my-old-file.pdf");
PdfStamper stamper = new PdfStamper(reader, new FileOutputStream("my-new-file.pdf"));
stamper.setEncryption("my-owner-password".getBytes(), "my-user-password".getBytes(),
PdfW...
I have a php file with the following code:
<?php
?>
<form action="" id="f1" name="f1">
<input type="button" name="preview" value="Open PDF" onclick="showPDF()" />
</form>
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript">
function showPDF(){
var newwin=window.open("pdf.pdf...
How would I create my own XP printer driver which will do the following:
print to file (probably XPS
format)
put this file into a password
protected ZIP file
email the zip file to a configured
email address
...
Hi,
My application has to take multiple documents such as .doc, .docx, .pdf, .ppt, .pptx and convert them as jpeg(any other format is also fine) images. if there are multiple pages, each page should become one jpeg.
I tried with some virtual printers but did not work out well.
My app is in C# 2.0
Anyone has a better solution??
...
Pages with tables creating problem in print? First page coming blank and content comes in print from 2nd page if pages are having <table>
and if table is long i want to print table heading on each print page also.
body{
font: 8pt/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif;
background: white;
}
#wra...