ohh yeh...
i am new in this area of spool file and dealing with printers...but i remember one of my co-worker redirected the output to a file instead of printer.....n it again bounced my head off...but luckily as of now i
dun have to deal with it...but i m sure i wil have to come accross it
some day!
Thanks,
Nisarg.
Jonathan Bailey wrote:
nis wrote:
hey guys,
thanks for d replies...
I got d solution ...i need to use printparameterlist and getTransformedInputStream() to extract text out of spool file.
The encoding thingy still bounces my head off.
Thanks,
Nisarg.
If you look at it another way..A spool file is data more or less ready
to be printed. If you printed plain text on a windows system using the printer driver but to a file, then try reading the output from that you would have quite a good time. On old dot matrix printers the output for just 1 line of text could be a couple of kilobyes.
Jonathan.
On Thursday, 19 October 2006 19:11:34 UTC+5:30, nis wrote:
ohh yeh...
i am new in this area of spool file and dealing with printers...but i remember one of my co-worker redirected the output to a file instead of printer.....n it again bounced my head off...but luckily as of now i
dun have to deal with it...but i m sure i wil have to come accross it
some day!
Thanks,
Nisarg.
Jonathan Bailey wrote:
nis wrote:
hey guys,
thanks for d replies...
I got d solution ...i need to use printparameterlist and getTransformedInputStream() to extract text out of spool file.
The encoding thingy still bounces my head off.
Thanks,
Nisarg.
If you look at it another way..A spool file is data more or less ready
to be printed. If you printed plain text on a windows system using the printer driver but to a file, then try reading the output from that you would have quite a good time. On old dot matrix printers the output for just 1 line of text could be a couple of kilobyes.
Jonathan.
Can u please send the code ? with PrintParam list
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 292 |
Nodes: | 16 (2 / 14) |
Uptime: | 203:33:35 |
Calls: | 6,617 |
Calls today: | 1 |
Files: | 12,168 |
Messages: | 5,316,465 |