Wrox Programmer Forums
|
VB Components Issues specific to components in VB.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 12th, 2008, 11:18 PM
Registered User
 
Join Date: May 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your reply..

Actually we are using Form Forge software for designing purpose. This software is a freeware and uses PCL commands. We are combining our data with the software and generates PCL file. Now we need to convert this combined file into PDF.

Can we pass this PCL file directly to the PDF printer driver?

 
Old June 13th, 2008, 11:43 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

No. Printer drivers take the output format that a windows program generates, and translates it to get the recipient of the driver (the printer, plotter, fax-to-modem) to produce the “described” result. For instance, Windows says put a dot at 100 × 37 to the driver, and the driver maybe says Line at 5 units by 1.2 units of length 0, because that is how that particular printer needs to hear the instruction so as to create the desired output.

In the case of a .PDF driver, the command from Windows winds up in a file. Drivers are essentially translators between Windows and [u]hardware</u> (even if it is virtual hrdware, like a .PDF file).

Drivers operate at a pretty low level of the operating system.

A converter, such as you are talking about, is at the software level, like any other .DLL or .EXE.
 
Old June 13th, 2008, 11:47 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Here's a thought...

It seems to me, you can drag a document, and drop it onto a printer icon in the Printers window. Or maybe onto an icon for that printer that you have created on the desktop.

I think that when you do this, Windows invokes the application that the document is associated with, so this might not work.

If there is a .PDF driver in the Printers window, perhaps you can drag the .PCL onto that driver... Questionalbel, but worth a try.

Try dragging the .PCL onto the intended printer to see if that works first.

I must say I'm dubious though.





Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF to HTML conversion madhukp Classic ASP Basics 11 June 24th, 2013 07:19 PM
PDF to XML conversion bcogney XSLT 7 September 21st, 2011 06:27 AM
html to pdf conversion gaurikhot ASP.NET 2.0 Professional 1 December 8th, 2008 06:57 AM
PDF Conversion to Image bpmills HTML Code Clinic 1 June 21st, 2005 11:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.