Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PDF printing on LAN/WAN
Message
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01395213
Message ID:
01395452
Views:
115
>I need a way to create PDF files that meets these criteria:
> - handles word documents AND vfp reports
> - allows programmatic control of long file names and destination (absolutely NO dialogs allowed)
> - works on LAN and WAN (Terminal Server)
> - is free (or nearly free)
>
>The method we've used for years has suddenly failed (see thread #1394899) and there's no money for an upgrade. I was considering the postscript / ghostscript combination but came across information that indicates this to be a poor choice for Terminal Server applications due to performance issues. Has anyone had experience with this? Are there any other options?

Almost Free (download lic key for $9.95) and easy solution ... more features than u-will need (http://www.pdf995.com/)
Charts are posted as PDF's from Excel (shown here) and then later as HTML's on the Internet Server.

Different PC's have different Port assignments, so this solution finds port and prints
*___ This Function is called from Phase Two with attempts from Ne00: thru Ne20: for PDF995 port ID.
*    Retry occurs when Return is False.
Function FindPortAndPrint
   PARAMETERS lPrintedFlag, nPort
   ON ERROR Do ForceBlank 
   IF nPort > 20 
      gLogMESS= "* PDF995 Printer Port canNOT be FOUND (This cannot happen)! "
      DO WriteLog
      RETURN .T.
   ENDIF 
   cPort= "Ne"+PADL(nPort,2,"0")+":"
   gLogMESS= "  TRY Port Selection: "+ cPort
   Do WriteLog
   ON ERROR Return .F. 
   .ActivePrinter = "PDF995 on "+cPort
   IF lPrintedFlag
      .ActiveWorkbook.WorkSheets(m.iTabor).PrintOut && Creates cOriginalFName
      RETURN .T. && Print only once
   ENDIF 
RETURN .F.
HTH
Edgar L. Bolton, B.S. B.B.A.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform