Be careful. SCSI 25 pin and Parallel 25 pin look exactly alike! The primary difference is that SCSI usually has a switch to go between 0 and 6, or 0 and 12 for ID switches. Printers normally were PC Parallel back in the old day of printer technologies, whereas scanners were more often SCSI. Does your printer owners manual say it is SCSI?
Secondly, the printer needs Mac OS X compatible drivers to work at all with the PowerMac G5, since it won't boot into Mac OS 9, and most Mac OS 9 printer drivers don't work in Mac OS X. See my FAQ*:
http://www.macmaps.com/printersx.html
And find a printer that works with your Mac OS X software if you can't find your own printer as working with it.
- * Links to my pages may give me compensation.