 |
|
 |
pls help me !
how to select upper/lower tray ?
nguyenchauhuyen@gmail.com
|
|
|
|
 |
|
 |
I use your application to run on my computer !
but it appears to be some problems!
it appears the job in the print squene!
but the printer didn't apply to do anything!
i have install the driver(Hp laser jet 1505)
and i'm sure i use the same code !
can you help me with this ?
is the driver's problem?
or i have to do something else?
|
|
|
|
 |
|
 |
Is it possible to add a signature (image signature) to a document printed in a printer (HP Laserjet)? I mean, monitor the printer and when a specific document is printed, add an image signature on it?
Jorge
|
|
|
|
 |
|
 |
Anyone know how to do this? I am using a piece of software for decompression called Hypersoft but I am still having a problem getting an image on a page. Any way to get this to work would be most appreciated.
-- modified at 17:19 Thursday 25th May, 2006
|
|
|
|
 |
|
 |
Hi, do you know some application that print a file whatever extension. I mean i send path file and the application print the file.
Tx.
|
|
|
|
 |
|
 |
Use something like QuickViewPlus or ConversionPlus.
AT
AT
|
|
|
|
 |
|
 |
hi i was wondering if anyone is having problem with this code. It wont print until the entire length is used like if the page is 42 char long it wont print until the entire 42 is used. I am using a pos printer for those that are interested but i dont thing that would cause a problem..... anyone know y?
|
|
|
|
 |
|
 |
Hi Kathy:
I added to my MSN but it seems you are not connected.
The behavior you told is strange for me if you are using the comple sample code.
The EndDocPrinter function makes the printer finish printing and eject the paper.
Make sure you are calling the EndDocPrinter function.
If it does not work, you complete each line with spaces with something like this
st1+="MyText";
and when you are ready to send to st1 variable, add spaces
string mystr = new String(‘ ‘, 42);
st1= st1 + mystr ;
st1= st1.substring(1,42) ;
About changing the font, it depends on your printer, so that you ll need to read PCL commands to use another font.
Fernando Hunth
|
|
|
|
 |
|
 |
THANKS FOR THE GREAT JOB!!
--------------
Marcel Medina
|
|
|
|
 |
|
|
 |
|
 |
Good Job.
Exactly what I was looking for.
I had written essentially the same code in VB6 and Win32 API a long time ago. I didn't have that code with me today and I needed it C# ... you saved me a lot of work and time! Your code plugged right in and worked!
I use this method to print barcode labels on Intermec and Zebra Label Printers.
Thank you!
Keep up the great work!!
AJ Stadlin
Software Engineer
|
|
|
|
 |
|
 |
We use special printers in airports that print barcodes for passengers if we can send the code direct.
Thanks for the code
Regards,
Simon Hughes
|
|
|
|
 |
|
 |
I've written an ATL object specifically designed for raw/straightthru printing about 6 months ago, it simplifies the API significantly.
Blogless
|
|
|
|
 |
|
 |
Just a note for those taking this as a quick help with printing to HP printers. Many of the new HP printers use just PCL6.
PCL6 is not backwards compatible to PCL5! (It was called PCL XL I think for a while).
Regards
Regards
Michael Hawksworth
www.foxpro.co.uk
|
|
|
|
 |
|
 |
Michael:
Thanks for the info.
I'll read about this subject
|
|
|
|
 |
|
 |
Can you give an example of when I'd want to consider doing this? Currently everything I print is fast as hell. How much faster is this? How about an example of where the benefits outweigh the pain of implementation.
Thanks.
|
|
|
|
 |
|
 |
Ashaman:
This was useful for me when on a application were printed a huge quantity of forms (like invoices). The forms have a fixed design like squares, boxes, images, etc and too have data ( that belongs to the invoice information ).
The problem that those forms were generated as PDF and were printed on Remote Printer, so that the forms generated some traffic on the network.
By using PCL Language, you can load a predesigned form on the printer (only once) and then print the preloaded form sendind only the data ( that belongs to the invoice information ) that only have a few bytes.
This kind of problems can be solved using PCL Printing.
Although how to make it, is not covered on this article, you can find some help on some PCL5 Manuals and reading about PCL Macros.
Hope this helps you.
|
|
|
|
 |
|
 |
This is a lot more work for me as a developer to use in my application. And besides that, what happens if I use a non PCL 5 printer to print?
I think the .NET printing classes are good enough for the job, even if the printjob contains large amounts of pages. I use the standard printing method in an enterprise application in which the printjobs for invoices is huge, about 500 per week (printed on friday in one printjob).
So I really don't see a use for the code you provided.
WM.
What about weapons of mass-construction?
|
|
|
|
 |
|
 |
Fernando Hunth wrote:
By using PCL Language, you can load a predesigned form on the printer (only once) and then print the preloaded form sendind only the data
I'll be damnd. Didn't know that.
Now that's a good example.
I hope to God I'll never need to do that, but I'll file your class just in case.
Thanks.
|
|
|
|
 |