D
dhv919401
We were having HP color Laserjet 4600 before. We have a custom code
written in VBA within GreatPlains (Dynamics Version 9.0) to launch
Crystal Reports which uses Crystal Viewer control. When the users
click a button on Sales Screen to print an invoice, it gives a drop
down with values 'Prelimanary', 'Final'. When the user picks
'Prelimanary' the report has to print to the default tray (TRAY 2).
When the user picks 'Final' it has to print from 'TRAY 3'. The code
used says
If frmTray.strValue = "Preliminary" Then
'Tray 2
CRReport.PaperSource = 2
Else
'Tray 3
CRReport.PaperSource = 11
End If
This code used to work perfectly with HP Color Laserjet 4600 with PCL
5 driver.
Now we just changed the printer to HP Color Laserject 4700 with PCL 5
driver.
Suddenly it stopped functioning. It is not able to pick up from the
TRAY 3.
I pulled the HP Color Laserject 4700 Software Technical Reference and
looked for the media source commands and used the numbers assigned for
the trays.
Whatsoever I do it is not recognizing.
Any help from anybody is really appreciated.
Looking forward to get some responses....
written in VBA within GreatPlains (Dynamics Version 9.0) to launch
Crystal Reports which uses Crystal Viewer control. When the users
click a button on Sales Screen to print an invoice, it gives a drop
down with values 'Prelimanary', 'Final'. When the user picks
'Prelimanary' the report has to print to the default tray (TRAY 2).
When the user picks 'Final' it has to print from 'TRAY 3'. The code
used says
If frmTray.strValue = "Preliminary" Then
'Tray 2
CRReport.PaperSource = 2
Else
'Tray 3
CRReport.PaperSource = 11
End If
This code used to work perfectly with HP Color Laserjet 4600 with PCL
5 driver.
Now we just changed the printer to HP Color Laserject 4700 with PCL 5
driver.
Suddenly it stopped functioning. It is not able to pick up from the
TRAY 3.
I pulled the HP Color Laserject 4700 Software Technical Reference and
looked for the media source commands and used the numbers assigned for
the trays.
Whatsoever I do it is not recognizing.
Any help from anybody is really appreciated.
Looking forward to get some responses....