Hi,
I have some old Clipper applications that I need to move to Harbour or HMG.
My current problem areas are as below:
1) Printer settings (Windows)
2) Printing with graphics and variable size font.
I hope someone here can get me started on the right track.
Regards,
Ravi
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks Rathinagiri,
I am planning to migrate to HMG.
Regards,
Ravi
Hi Paul,
Thank you for your advice.
I had developed the application to run purely on DOS (some 24 years ago). Those were the days of dot-matrix printers.
1) Printer setting (Windows):
I am developing an application for distribution.
I want the user to be able to set the printing choices (printer and settings) using the usual Windows printer dialog box (from within in my application).
I do not want to hardwire the printer setting in the application.
Alternately, the user could set the printing choices in the Windows environment.
Once the user has set up the print preferences, my application will print to that default printer.
2) Printing with graphics and variable size font:
I did not use any emulation – just a plain simple print of a text file.
Now, I need to have different fonts and font-sizes, plus the company logo (possibly) to be picked up as an image file.
I think I need to create an EPS or a PDF file.
Right now, all I can think of is using LaTex and PdfLatex.
Regards,
Ravi
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
--- You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Bruno Luciani Area Ingenieria Brawnius Tecnologia y Servicios BWS Central de Monitoreo San Francisco Javier 1066 Ramallo - 03407-422178/422185 www.brawnius.com.ar www.bwsalarmas.com.ar
Regards,
Klas
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
--- You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Ravindra,
You can try my generic txt2gdi converter available here:
https://dl.dropboxusercontent.com/u/59333591/txt2gdih.prg
Hope that helps,
Warm regards,
Jayadev
Thank you, Jayadev!
This is not necessary. Harbour can print directly to \\<computer name>\<shared printer name> without redirection to LPT<n>
Just SET PRINTER TO \\<computer name>\<shared printer name>
Regards,
Klas
Hello Paul
Wow, thank-you very much, adding the back slash at the end worked!
For so many years I've read people say just Set Printer to \\server\printershare and every two years or so I've tryed it and it never worked. So, when much respected Klas mentioned it again in this thread, I thought I'd push it... Glad I did, thank-you all!
SET PRINTER TO \\server\printershare\
Don't forget the back-slash at the end... :-)
Thanks Viktor,
That would explain it, otherwise I assume it will add the .prn default extension and tries to create a print file.
I tested, adding a period at the end also works.
Just out of curiosity, would there ever be a situation where one would or even could create a file in such a \\server\prnfile.prn scenario?