The Xerox Phaser 3155 uses PCL 6 (Printer Command Language), which is well-supported on Linux via CUPS (Common UNIX Printing System).
If the printer is connected via Ethernet or shared on a network:
Method A: USB Connection (Easiest)
Method B: Network (Wired Ethernet)
Before downloading, check your system: