Problema en "rtf converter" con lenguaje PCL

These different converters modules enables you to convert your existin documents to the above formats. These are all parts of our Document Converter produt.
Here you can post all the installation and usage issues related to the document converters including our latest DOCX Converter
Post Reply
Alex Fernández
Posts: 3
Joined: Tue Oct 01 2002

Problema en "rtf converter" con lenguaje PCL

Post by Alex Fernández »

Tengo problemas con el "rtf converter" cuando imprimo en impresora con lenguaje pcl.

MI CODIGO ES EL SIGUIENTE:

icprinter = '1'

local wpages,no,icprinter,inhdc
declare integer StartDoc in Win32api integer,string
declare integer StartPage in Win32api integer
declare integer EndPage in Win32api integer
declare integer EndDoc in Win32api integer
declare integer CreateDC in Win32api string,string,integer,integer
declare integer DeleteDC in Win32api integer

icprinter = getprinter()

if !empty(icprinter)
inhdc = createdc("winspool",icprinter,0,0)
startdoc(inhdc,chr(20)+replicate(chr(0),19))
wpages= thisform.olecontrol1.currentpages
for no = 1 to wpages
startpage(inhdc)
thisform.olecontrol1.printdevice = inhdc
thisform.olecontrol1.printpage(no)
endpage(inhdc)
endfor
enddoc(inhdc)
deletedc(inhdc)
endif

Pueden ayudarme?
Gracias
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Unfotunately, I am not good in Spanish.

please can you state the problem in English?
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
lp
Posts: 66
Joined: Mon Dec 12 2005
Location: Italy

Post by lp »

I'm not good at Spanish, too... anyway he's saying something like this:

---
I have a problem with the "rtf converter" when I print to a printer using the PCL language.
My code is the following:

(...code snippet...)

Can you help me?
Thank you
---

HTH :)
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Thank you LP for the translation.

Well Alex, when using the RTF Converter you can either print the documents to the RTF Printer to get RTF output or print the RTF file to a physical printer using the PrintPDFDocument() command.

In the code snippet i don't see where you are printing to the RTF Converter printer.

Please Alex send the issue you have to support@amyuni.com we have some engineers that understand Spanish
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Post Reply