General information
Title:
Error 'alias oprndev not found' from rawprint program
I have an application that is installed on several workstations. They are a mix of Windows 98, 200 professional and XP professionsal. All but one work fine. All were installed from the same setup. When I try to print on that single workstation I get the error 'alias oprndev not found(). In all instances we are printing to an HP LaserJet printer.
In the application, a full report is in memo field in my table. The application allows the user to select a specific row in the table and then prints the contents of that memo field. The Memo field contains an Accounting system saved print file. The code I am using is as follows. Note I am putting the compressed print characters in the file and then add the reeport. Then I send the created file to the printer.
if file('tempfile.txt')
delete file tempfile.txt
endif
m_fil = fcreate('tempfile.txt')
= fwrite(m_fil,'E(s16.66H')
= fclose(m_fil)
copy memo curfile.repdata to tempfile.txt additive
m_prt = getprinter()
do prtfile with 'tempfile.txt', m_prt
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only