I followed your command, but it still will not print on 4x6 photo paper. I take the standard sized paper out of the main tray and replace it with 4x6 photo paper. I type in:
lp -o media=Custom.4x6in filename
It simply takes up the 4x6 paper, then spits it out and gives the same error message, "Incorrect paper size or type, press OK to cancel" on the printer's LCD screen.
I followed your command, but it still will not print on 4x6 photo paper. I take the standard sized paper out of the main tray and replace it with 4x6 photo paper. I type in:
lp -o media=Custom.4x6in filename
It simply takes up the 4x6 paper, then spits it out and gives the same error message, "Incorrect paper size or type, press OK to cancel" on the printer's LCD screen.