Most US embassies/ consulates will allow you to apply for a visa with only a copy of the approval notice (USCIS Form I-797 ... in H-1B status are perfectly free to travel while an I-485 green card ...