Ashwin,
You were correct, everything was getting printed in raster. We added support
for Vector graphics and then found the file size reduced drastically.
Thank you.
Regards,
S.Sriram
-----Original Message-----
From: Ashwin Needamangala [mailto:xxxxx@microsoft.com]
Sent: Wednesday, December 11, 2002 11:16 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Printer driver - Print to file Problem
You cannot compare the spool file size to the actual output size. The
spool file is probably in EMF format and the rendering hasn't even taken
place at the time of spooling. So that comparison does not hold.
The output size can depend on numerous factors like:
- Are you enabling compression in your GPD?
- Does your GPD specify any kind of font support? In other words, if the
text is being printed as graphics, the output size will be larger.
- How much printer memory do you specify in the GPD? If you do not have
a MemoryUsage entry in your GPD, unidrv might take a different code path
that results in a larger output size.
The above points are just a few factors that can affect the final output
size. So it really depends on what you specify within your GPD because
this is what controls the various code paths within unidrv.
This posting is provided "AS IS" with no warranties, and confers no
rights.
-----Original Message-----
From: Sriram S [mailto:xxxxx@celstream.com]
Sent: Wednesday, December 11, 2002 3:34 AM
To: NT Developers Interest List
Cc: Ashwin Needamangala
Subject: [ntdev] RE: Printer driver - Print to file Problem
Ashwin,
I don't think the problem is with the GPD. When I try to print it to a
file, the file size is very big, but when I print it to a printer
directly the file size if very less.
I used a power point slide for testing, when I printed to a file, the
file size was 3MB, but when I printed directly, I saw the spooled file
size was 40KB !!!!.
What could be the difference between printing to a file and directly
printing ?.
Regards,
S.Sriram
-----Original Message-----
From: Ashwin Needamangala [mailto:xxxxx@microsoft.com]
Sent: Thursday, December 05, 2002 1:30 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Printer driver - Print to file Problem
That is probably due to all the PCL commands specified in the GPD file.
Also, it can depend on what you specify in your GPD. For example, if you
write your GPD to produce a raw raster image dump of whatever you are
printing including white pixels, the output will be larger than you
expect. It can also depend on the kind of font support your GPD
specifies.
- Ashwin
This posting is provided "AS IS" with no warranties, and confers no
rights.
-----Original Message-----
From: Sriram S [mailto:xxxxx@celstream.com]
Sent: Wednesday, December 04, 2002 4:53 AM
To: NT Developers Interest List
Cc: Ashwin Needamangala
Subject: [ntdev] Printer driver - Print to file Problem
Hi,
I have written a PCL 5c driver, it is based on the Microsoft Unidriver.
When I do a "print to file", the .prn file size is sometimes more than
100 times the actual file size !!!.
Is there a problem with the Unidriver ?. Can we reduce this file size ?.
When I opened the .prn I found that the compression techniques has been
used but still the file size has gone so big.
Regards,
S.Sriram
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@celstream.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@celstream.com
To unsubscribe send a blank email to %%email.unsub%%